package com.liuhaoqi.raletiveblog.entity;

public class Tag {
    private Long tagid;

    private String tagname;

    private Long blogclassId;

    public Tag(Long tagid, String tagname, Long blogclassId) {
        this.tagid = tagid;
        this.tagname = tagname;
        this.blogclassId = blogclassId;
    }

    public Tag() {
        super();
    }

    public Long getTagid() {
        return tagid;
    }

    public void setTagid(Long tagid) {
        this.tagid = tagid;
    }

    public String getTagname() {
        return tagname;
    }

    public void setTagname(String tagname) {
        this.tagname = tagname == null ? null : tagname.trim();
    }

    public Long getBlogclassId() {
        return blogclassId;
    }

    public void setBlogclassId(Long blogclassId) {
        this.blogclassId = blogclassId;
    }
}